package com.wm.exam.dao;

import com.wm.exam.pojo.Scope;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ScopeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Scope record);

    int insertSelective(Scope record);

    Scope selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Scope record);

    int updateByPrimaryKey(Scope record);

    List<Scope> getByStatus();

    Scope getByScopeValue(String scope);
}